package com.zjgsu.nftplatform.service;

/**
 * @author ahy231
 * @date 2022/4/22 17:41
 * @description
 */
public interface PurchaseService {

    String searchPublication(String cid);

    Boolean isSeller(String cid, String uaddr);

    String createPublication(String cid, String dayTime, String address, String password);

    String setStake(String pid, String stake, String address, String password);

    String setPrice(String pid, String price, String address, String password);

    String agreePublication(String id, String price, String address, String password);

    String getPublicationById(String pid);

    String getStakeById(String pid, String uaddr);

    String getPriceById(String pid, String uaddr);
}
